package com.yff.dao;

import java.util.List;

import com.yff.model.Role;
import com.yff.model.User;

public interface IRoleDao {

	public abstract int add(Role role);
	
	public abstract int delete(int id);
	
	public abstract int edit(Role role);

	public abstract Role get(int id);
	
	public abstract List<Role> getAll();
	
	public abstract List<Role> getAll(int page,int pageSize);

	public abstract int count(Object sql, Object params);
	
	
}

